package com.huibei.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.huibei.mapper.UserMapper;
import com.huibei.pojo.User;
import com.huibei.service.IUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class IUserServiceImpl extends ServiceImpl<UserMapper, User> implements IUserService {

    @Resource
    private UserMapper userMapper;

    @Override
    public int getMaxUserId() {
        return userMapper.getMaxUserId();
    }
}
